<?php
$id = $_GET["Id"];
$sql = "SELECT * FROM article WHERE Id = $id";
$conn = new mysqli("localhost","root","","myblog");
$rs = $conn -> query($sql);
if($conn->error){
    echo $conn->error;
    die($conn->error);
}
$detail = $rs->fetch_assoc();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html charset=utf-8"/>
        <title>tenth page</title>
    </head>
    <body>
        <h3><?=$detail["Title"]?></h3>
        <div>
            <?=$detail["AuthorName"]?>编辑于
            <?=$detail["UpdateTime"]?>
        </div>
        <div><?=$detail["Content"]?></div>
        <a href="test_7_article_list.php">返回列表</a>
    </body>
</html>